package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * packageName com.sky.service.impl
 *
 * @author fenglai
 * @version JDK 11
 * @interfaceName DishService
 * @date 2023/12/10
 * @description TODO
 */
public interface DishService {
    PageResult pageSelectDish(DishPageQueryDTO dto);

    List<Dish> selectDishByCategoryId(Long categoryId);

    DishVO selectDishById(Long id);

    void addDish(DishDTO dto);

    void updateDish(DishDTO dto);

    void updateDishStatus(Integer status, Long id);

    void deleteDish(List<Long> ids);
}